<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>提示</title>
</head>
<body>
    <table>
        <tr>
            <td>序号</td>
            <td>姓名</td>
            <td>年龄</td>
            <td>性别</td>
        </tr>
        <% for(let i = 0;i<stu.length;i++){%>
        <tr>
            <td><%=i+1 %></td>
            <td><%=stu[i].name %></td>
            <td><%=stu[i].age %></td>
            <td><%=stu[i].gender %></td>
        </tr>
        <% } %>
    </table>
</body>
</html>